package service;

import Req.Request;
import entity.*;

import java.util.Vector;

public interface PersonnelService {
    TableDTO retrieveStudents(Request request, String tablesName);
    boolean add(Vector<Object> attributes, String tablesName);

    Vector<Object> getBy(int selectedStudentId,String tablename);
    Personnel getById(int selectedStudentId, String tablename);

    Achievement getByIdAchievement(int selectedStudentId, String tablename);
    Department getByIdDepartment(int selectedStudentId, String tablename);
    Project getByIdProject(int selectedStudentId, String tablename);
    ProjectAwardForm getByIdProjectAwardForm(int selectedStudentId, String tablename);
    ProjectPersonnelTable getByIdProjectPersonnelTable(int selectedStudentId, String tablename);

    boolean updata(int k,Vector<Object> attributes, String tablesName);

    boolean delete(String[] selectedStudentIds,String tablesName);
}
